jscript.dll on .asp page?

jscript.dll on .asp page?

am 20.11.2007 06:24:06 von zz12

Hello, would anyone be able to confirm that 'jscript.dll' is a necessary
file for an .asp page on IIS 5.0 to use the

returns:

Active Server Pages error 'ASP 0129'
Unknown scripting language
/test.asp, line 1
The scripting language 'JavaScipt' is not found on the server.


--
Evertjan.
The Netherlands.
(Please change the x'es to dots in my emailaddress)

Re: jscript.dll on .asp page?

am 20.11.2007 10:15:28 von Dooza

Evertjan. wrote:
> zz12 wrote on 20 nov 2007 in microsoft.public.inetserver.asp.general:
>
>> Hello, would anyone be able to confirm that 'jscript.dll' is a
>> necessary file for an .asp page on IIS 5.0 to use the >> language="JavaScipt" runat="SERVER"> code? It looks like the code in
>> this section is not working and being recognized since it keeps giving
>> me:
>
>
> Testing:
>
>
>
> returns:
>
> Active Server Pages error 'ASP 0129'
> Unknown scripting language
> /test.asp, line 1
> The scripting language 'JavaScipt' is not found on the server.
>
>

Is that cos of the typo?

Steve

Re: jscript.dll on .asp page?

am 20.11.2007 10:42:20 von Anthony Jones

"zz12" wrote in message
news:uKURUWzKIHA.3940@TK2MSFTNGP05.phx.gbl...
> Hello, would anyone be able to confirm that 'jscript.dll' is a necessary
> file for an .asp page on IIS 5.0 to use the
>>
>> returns:
>>
>> Active Server Pages error 'ASP 0129'
>> Unknown scripting language
>> /test.asp, line 1
>> The scripting language 'JavaScipt' is not found on the server.
>
> Is that cos of the typo?

What typo?
Are you asuming something?


--
Evertjan.
The Netherlands.
(Please change the x'es to dots in my emailaddress)

Re: jscript.dll on .asp page?

am 20.11.2007 21:41:52 von reb01501

zz12 wrote:
> Yes I temporarily changed the 'connection' name to a generic one just
> for this debugging help group purpose.
>
> I did change the 'Open' to 'open' and it still gives me the same
> error. I guess I'll try to debug in seeing what the line above for
> 'connection' value is set at (if it's even being set and/or holding
> it). Since this is jscript and I'm more of a vbscript guy

That means you can try testing vbscript code that does the same thing,
can't you?

Do this: create a page that contains nothing but the following code and
test it:


..
Does this produce the error?

> would
> anyone happen to know off the top of one's head in how to debug
> similar to a 'response.write' line in jscript?

The Response object is provided by the ASP engine so response.write
works in both vbscript and javascript.
--
Microsoft MVP -- ASP/ASP.NET
Please reply to the newsgroup. The email account listed in my From
header is my spam trap, so I don't check it very often. You will get a
quicker response by posting to the newsgroup.

Re: jscript.dll on .asp page?

am 20.11.2007 22:38:27 von zz12

This is a multi-part message in MIME format.

------=_NextPart_000_0019_01C82B7A.A26CC160
Content-Type: text/plain;
charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

I created an .asp page that contains only the following like you =
recommended:



and surprisingly it it didn't give me an error message. It just shows a =
blank page which looks like a good thing in that the jscript.dll is =
working?

Thanks again for your efforts Bob. This is really helping me out and =
learning something new.


"Bob Barrows [MVP]" wrote in message =
news:%23yhCJX7KIHA.1188@TK2MSFTNGP04.phx.gbl...
> zz12 wrote:
>> Yes I temporarily changed the 'connection' name to a generic one just
>> for this debugging help group purpose.
>>
>> I did change the 'Open' to 'open' and it still gives me the same
>> error. I guess I'll try to debug in seeing what the line above for
>> 'connection' value is set at (if it's even being set and/or holding
>> it). Since this is jscript and I'm more of a vbscript guy
>=20
> That means you can try testing vbscript code that does the same thing,
> can't you?
>=20
> Do this: create a page that contains nothing but the following code =
and
> test it:
>=20
>
> .
> Does this produce the error?
>=20
>> would
>> anyone happen to know off the top of one's head in how to debug
>> similar to a 'response.write' line in jscript?
>=20
> The Response object is provided by the ASP engine so response.write
> works in both vbscript and javascript.
> --=20
> Microsoft MVP -- ASP/ASP.NET
> Please reply to the newsgroup. The email account listed in my From
> header is my spam trap, so I don't check it very often. You will get a
> quicker response by posting to the newsgroup.
>=20
>
------=_NextPart_000_0019_01C82B7A.A26CC160
Content-Type: text/html;
charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable



charset=3Diso-8859-1">




I created an .asp page that contains =
only the=20
following like you recommended:

 


<script language=3D"JavaScript"=20
runat=3D"SERVER">
  var connection;
  connection=3D =
new=20
=
ActiveXObject("ADODB.Connection");
</script>
QUOTE>
 

and surprisingly it it didn't give =
me an error=20
message.  It just shows a blank page which looks like a good thing =
in that=20
the jscript.dll is working?

 

Thanks again for your efforts =
Bob.  This is=20
really helping me out and learning something new.

 

 

"Bob Barrows [MVP]" < href=3D"mailto:reb01501@NOyahoo.SPAMcom"> size=3D2>reb01501@NOyahoo.SPAMcom size=3D2>> wrote in=20
message
href=3D"news:%23yhCJX7KIHA.1188@TK2MSFTNGP04.phx.gbl"> face=3DArial =
size=3D2>news:%23yhCJX7KIHA.1188@TK2MSFTNGP04.phx.gbl
face=3DArial size=3D2>...
> =
zz12=20
wrote:
>> Yes I temporarily changed the 'connection' name to a =
generic=20
one just
>> for this debugging help group=20
purpose.
>>
>> I did change the 'Open' to 'open' and =
it still=20
gives me the same
>> error.  I guess I'll try to debug in =
seeing=20
what the line above for
>> 'connection' value is set at (if =
it's even=20
being set and/or holding
>> it).  Since this is jscript =
and I'm=20
more of a vbscript guy
>
> That means you can try testing =
vbscript=20
code that does the same thing,
> can't you?
>
> Do =
this:=20
create a page that contains nothing but the following code and
> =
test=20
it:
>
> <script language=3D"JavaScript"=20
runat=3D"SERVER">
>   var =
connection;
>  =20
connection=3D new ActiveXObject("ADODB.Connection");
>=20
</script>
> .
> Does this produce the error?
>=20

>>  would
>> anyone happen to know off the top =
of one's=20
head in how to debug
>> similar to a 'response.write' line in=20
jscript?
>
> The Response object is provided by the ASP =
engine=20
so  response.write
> works in both vbscript and =
javascript.
>=20
--
> Microsoft MVP -- ASP/ASP.NET
> Please reply to the =
newsgroup.=20
The email account listed in my From
> header is my spam trap, so I =
don't=20
check it very often. You will get a
> quicker response by posting =
to the=20
newsgroup.
>
>


------=_NextPart_000_0019_01C82B7A.A26CC160--

Re: jscript.dll on .asp page?

am 20.11.2007 23:26:28 von reb01501

OK, next step is to add in a connection.open statement utilizing a
connection string that you know will work.

zz12 wrote:
> I created an .asp page that contains only the following like you
> recommended:
>
>
>
> and surprisingly it it didn't give me an error message. It just
> shows a blank page which looks like a good thing in that the
> jscript.dll is working?
>
> Thanks again for your efforts Bob. This is really helping me out and
> learning something new.
>
>
> "Bob Barrows [MVP]" wrote in message
> news:%23yhCJX7KIHA.1188@TK2MSFTNGP04.phx.gbl...
>> zz12 wrote:
>>> Yes I temporarily changed the 'connection' name to a generic one
>>> just for this debugging help group purpose.
>>>
>>> I did change the 'Open' to 'open' and it still gives me the same
>>> error. I guess I'll try to debug in seeing what the line above for
>>> 'connection' value is set at (if it's even being set and/or holding
>>> it). Since this is jscript and I'm more of a vbscript guy
>>
>> That means you can try testing vbscript code that does the same
>> thing, can't you?
>>
>> Do this: create a page that contains nothing but the following code
>> and test it:
>>
>>
>> .
>> Does this produce the error?
>>
>>> would
>>> anyone happen to know off the top of one's head in how to debug
>>> similar to a 'response.write' line in jscript?
>>
>> The Response object is provided by the ASP engine so response.write
>> works in both vbscript and javascript.
>> --
>> Microsoft MVP -- ASP/ASP.NET
>> Please reply to the newsgroup. The email account listed in my From
>> header is my spam trap, so I don't check it very often. You will get
>> a quicker response by posting to the newsgroup.

--
Microsoft MVP -- ASP/ASP.NET
Please reply to the newsgroup. The email account listed in my From
header is my spam trap, so I don't check it very often. You will get a
quicker response by posting to the newsgroup.

Re: jscript.dll on .asp page?

am 21.11.2007 00:07:23 von zz12

I think I have it working now.

Thanks so much Bob and all for all of your helpful and speedy replies.
Totally appreciate it.

Take cares, you guys are awesome :-)


"Bob Barrows [MVP]" wrote in message
news:%230x9lR8KIHA.6108@TK2MSFTNGP03.phx.gbl...
> OK, next step is to add in a connection.open statement utilizing a
> connection string that you know will work.
>
> zz12 wrote:
>> I created an .asp page that contains only the following like you
>> recommended:
>>
>>
>>
>> and surprisingly it it didn't give me an error message. It just
>> shows a blank page which looks like a good thing in that the
>> jscript.dll is working?
>>
>> Thanks again for your efforts Bob. This is really helping me out and
>> learning something new.
>>
>>
>> "Bob Barrows [MVP]" wrote in message
>> news:%23yhCJX7KIHA.1188@TK2MSFTNGP04.phx.gbl...
>>> zz12 wrote:
>>>> Yes I temporarily changed the 'connection' name to a generic one
>>>> just for this debugging help group purpose.
>>>>
>>>> I did change the 'Open' to 'open' and it still gives me the same
>>>> error. I guess I'll try to debug in seeing what the line above for
>>>> 'connection' value is set at (if it's even being set and/or holding
>>>> it). Since this is jscript and I'm more of a vbscript guy
>>>
>>> That means you can try testing vbscript code that does the same
>>> thing, can't you?
>>>
>>> Do this: create a page that contains nothing but the following code
>>> and test it:
>>>
>>>
>>> .
>>> Does this produce the error?
>>>
>>>> would
>>>> anyone happen to know off the top of one's head in how to debug
>>>> similar to a 'response.write' line in jscript?
>>>
>>> The Response object is provided by the ASP engine so response.write
>>> works in both vbscript and javascript.
>>> --
>>> Microsoft MVP -- ASP/ASP.NET
>>> Please reply to the newsgroup. The email account listed in my From
>>> header is my spam trap, so I don't check it very often. You will get
>>> a quicker response by posting to the newsgroup.
>
> --
> Microsoft MVP -- ASP/ASP.NET
> Please reply to the newsgroup. The email account listed in my From
> header is my spam trap, so I don't check it very often. You will get a
> quicker response by posting to the newsgroup.
>
>

Re: jscript.dll on .asp page?

am 21.11.2007 18:32:08 von Dave Anderson

Bob Barrows [MVP] wrote:
> Oh, wait. I never do ADO code in javascript. Can one of you javascript
> users confirm whether using "Open" as opposed to "open" could cause
> the error?

Don't know about javascript, but for JScript, .Open() is correct.

Incidentally, there are no reserved words or other objects in ASP/JScript
named "connection" or "Connection".


--
Dave Anderson

Unsolicited commercial email will be read at a cost of $500 per message. Use
of this email address implies consent to these terms.

Re: jscript.dll on .asp page?

am 15.01.2008 02:34:08 von zz12

This is a multi-part message in MIME format.

------=_NextPart_000_0009_01C856D3.AB183E00
Content-Type: text/plain;
charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

I had these working on a w2k server (iis 5.0) and am now trying to run =
these on a w2k3 server (iis 6.0) and am getting the following error:

Microsoft JScript runtime error '800a01b0'=20
File name or class name not found during Automation operation=20
Would anyone know if there's a security setting or something that I'm =
missing in why the above error message shows on the w2k3 server when it =
was running fine on the w2k server?

Thanks in advance.


"zz12" wrote in message =
news:OfsGbo8KIHA.1184@TK2MSFTNGP04.phx.gbl...
>I think I have it working now.
>=20
> Thanks so much Bob and all for all of your helpful and speedy replies. =

> Totally appreciate it.
>=20
> Take cares, you guys are awesome :-)
>=20
>=20
> "Bob Barrows [MVP]" wrote in message=20
> news:%230x9lR8KIHA.6108@TK2MSFTNGP03.phx.gbl...
>> OK, next step is to add in a connection.open statement utilizing a
>> connection string that you know will work.
>>
>> zz12 wrote:
>>> I created an .asp page that contains only the following like you
>>> recommended:
>>>
>>>
>>>
>>> and surprisingly it it didn't give me an error message. It just
>>> shows a blank page which looks like a good thing in that the
>>> jscript.dll is working?
>>>
>>> Thanks again for your efforts Bob. This is really helping me out =
and
>>> learning something new.
>>>
>>>
>>> "Bob Barrows [MVP]" wrote in message
>>> news:%23yhCJX7KIHA.1188@TK2MSFTNGP04.phx.gbl...
>>>> zz12 wrote:
>>>>> Yes I temporarily changed the 'connection' name to a generic one
>>>>> just for this debugging help group purpose.
>>>>>
>>>>> I did change the 'Open' to 'open' and it still gives me the same
>>>>> error. I guess I'll try to debug in seeing what the line above =
for
>>>>> 'connection' value is set at (if it's even being set and/or =
holding
>>>>> it). Since this is jscript and I'm more of a vbscript guy
>>>>
>>>> That means you can try testing vbscript code that does the same
>>>> thing, can't you?
>>>>
>>>> Do this: create a page that contains nothing but the following code
>>>> and test it:
>>>>
>>>>
>>>> .
>>>> Does this produce the error?
>>>>
>>>>> would
>>>>> anyone happen to know off the top of one's head in how to debug
>>>>> similar to a 'response.write' line in jscript?
>>>>
>>>> The Response object is provided by the ASP engine so =
response.write
>>>> works in both vbscript and javascript.
>>>> --
>>>> Microsoft MVP -- ASP/ASP.NET
>>>> Please reply to the newsgroup. The email account listed in my From
>>>> header is my spam trap, so I don't check it very often. You will =
get
>>>> a quicker response by posting to the newsgroup.
>>
>> --=20
>> Microsoft MVP -- ASP/ASP.NET
>> Please reply to the newsgroup. The email account listed in my From
>> header is my spam trap, so I don't check it very often. You will get =
a
>> quicker response by posting to the newsgroup.
>>
>>=20
>=20
>
------=_NextPart_000_0009_01C856D3.AB183E00
Content-Type: text/html;
charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable



charset=3Diso-8859-1">




I had these working on a w2k server =
(iis 5.0) and=20
am now trying to run these on a w2k3 server (iis 6.0) and am getting the =

following error:

 


    Microsoft JScript =
runtime=20
error '800a01b0'

size=3D1>    File name=20
or class name not found during Automation operation
=20

Would anyone know if there's a security =
setting or=20
something that I'm missing in why the above error message shows on the =
w2k3=20
server when it was running fine on the w2k server?

 

Thanks in advance.

 

 

"zz12" < href=3D"mailto:IDontLikeSpam@Nowhere.com"> size=3D2>IDontLikeSpam@Nowhere.com size=3D2>> wrote in=20
message
href=3D"news:OfsGbo8KIHA.1184@TK2MSFTNGP04.phx.gbl"> face=3DArial =
size=3D2>news:OfsGbo8KIHA.1184@TK2MSFTNGP04.phx.gbl
face=3DArial size=3D2>...
>I =
think I have it=20
working now.
>
> Thanks so much Bob and all for all of your =
helpful=20
and speedy replies.
> Totally appreciate it.
>
> =
Take cares,=20
you guys are awesome :-)
>
>
> "Bob Barrows [MVP]"=20
<
face=3DArial=20
size=3D2>reb01501@NOyahoo.SPAMcom
size=3D2>> wrote in=20
message
>
href=3D"news:%230x9lR8KIHA.6108@TK2MSFTNGP03.phx.gbl">
size=3D2>news:%230x9lR8KIHA.6108@TK2MSFTNGP03.phx.gbl
face=3DArial=20
size=3D2>...
>> OK, next step is to add in a connection.open =
statement=20
utilizing a
>> connection string that you know will=20
work.
>>
>> zz12 wrote:
>>> I created an =
..asp page=20
that contains only the following like you
>>>=20
recommended:
>>>
>>>   <script=20
language=3D"JavaScript" =
runat=3D"SERVER">
>>>    =20
var connection;
>>>     connection=3D =
new=20
ActiveXObject("ADODB.Connection");
>>>  =20
</script>
>>>
>>> and surprisingly it it =
didn't=20
give me an error message.  It just
>>> shows a blank =
page which=20
looks like a good thing in that the
>>> jscript.dll is=20
working?
>>>
>>> Thanks again for your efforts=20
Bob.  This is really helping me out and
>>> learning =
something=20
new.
>>>
>>>
>>> "Bob Barrows [MVP]" =

<
face=3DArial=20
size=3D2>reb01501@NOyahoo.SPAMcom
size=3D2>> wrote in=20
message
>>>
href=3D"news:%23yhCJX7KIHA.1188@TK2MSFTNGP04.phx.gbl">
size=3D2>news:%23yhCJX7KIHA.1188@TK2MSFTNGP04.phx.gbl
face=3DArial=20
size=3D2>...
>>>> zz12 wrote:
>>>>> Yes =
I=20
temporarily changed the 'connection' name to a generic=20
one
>>>>> just for this debugging help group=20
purpose.
>>>>>
>>>>> I did change =
the 'Open'=20
to 'open' and it still gives me the same
>>>>> =
error.  I=20
guess I'll try to debug in seeing what the line above=20
for
>>>>> 'connection' value is set at (if it's even =
being set=20
and/or holding
>>>>> it).  Since this is jscript =
and I'm=20
more of a vbscript guy
>>>>
>>>> That =
means you=20
can try testing vbscript code that does the same
>>>> =
thing,=20
can't you?
>>>>
>>>> Do this: create a =
page that=20
contains nothing but the following code
>>>> and test=20
it:
>>>>
>>>> <script =
language=3D"JavaScript"=20
runat=3D"SERVER">
>>>>   var=20
connection;
>>>>   connection=3D new=20
ActiveXObject("ADODB.Connection");
>>>>=20
</script>
>>>> .
>>>> Does this =
produce the=20
error?
>>>>
>>>>> =20
would
>>>>> anyone happen to know off the top of one's =
head in=20
how to debug
>>>>> similar to a 'response.write' line =
in=20
jscript?
>>>>
>>>> The Response object is =
provided=20
by the ASP engine so  response.write
>>>> works in =
both=20
vbscript and javascript.
>>>> --
>>>> =
Microsoft=20
MVP -- ASP/ASP.NET
>>>> Please reply to the newsgroup. =
The email=20
account listed in my From
>>>> header is my spam trap, so =
I don't=20
check it very often. You will get
>>>> a quicker response =
by=20
posting to the newsgroup.
>>
>> --
>> =
Microsoft MVP=20
-- ASP/ASP.NET
>> Please reply to the newsgroup. The email =
account=20
listed in my From
>> header is my spam trap, so I don't check =
it very=20
often. You will get a
>> quicker response by posting to the=20
newsgroup.
>>
>>
> =

>


------=_NextPart_000_0009_01C856D3.AB183E00--